//
//  UMManager.h
//  MSHD
//
//  Created by HCreater on 2018/1/8.
//  Copyright © 2018年 HCreater. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AppDelegate.h"

@interface UMManager : NSObject

MHSingletonH(UMManager);

@property (nonatomic, readwrite, copy) NSString* devToken;

- (void)init:(AppDelegate*)appdelegate launchOptions:(NSDictionary*)lOptions;

- (BOOL)openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;

- (void)didReceiveRemoteNotification:(NSDictionary*)userInfo;

#pragma mark -- 推送
- (void)bindAlias:(NSString*)aliasName;
- (void)removeAlias:(NSString*)aliasName;

#pragma mark -- 分享
- (void)shareWebUrl:(NSString*)weburl;

@end
